package com.gof.example.command.macro;

/**
 * Created with IntelliJ IDEA.
 * Created by zhiyuan on 2018/5/10 10:31.
 * haiming.fei@tongdun.cn
 */
public abstract class Command {

    protected Object object;

    public Command() {
    }

    public Command(Object object) {
        this.object = object;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public void addCommand(Command c) {
    }

    public void removeCommand(Command c) {
    }

    public Command getCommand(int i) {
        return null;
    }

    abstract void excute();
}
